package video
{
	import flash.media.H264Level;
	import flash.media.H264Profile;
	
	[Bindable]
	public class VideoInfo
	{
		private var _bufferTimer:uint;
		private var _videoWidth:uint;
		private var _videoHeight:uint;
		private var _videoBandWidth:uint;
		private var _videoFps:uint;
		private var _videoQuality:uint;
		private var _videoEnableIntervalTimes:Array;
		private var _h264Profile:String;
		private var _h264Level:String;
		
		public function VideoInfo(){
			_bufferTimer = 3;
			_videoWidth = 320;
			_videoHeight = 240;
			_videoBandWidth = 0;
			_videoFps = 5;
			_videoQuality = 0;
			_h264Profile = H264Profile.BASELINE;
			_h264Level = H264Level.LEVEL_3;
			
			_videoEnableIntervalTimes = new Array();
			var o1:Object = new Object();
			o1.Start = "09:30:00";
			o1.End = "20:30:00";
			_videoEnableIntervalTimes.push(o1);
			
			var o2:Object = new Object();
			o2.Start = "09:30:00";
			o2.End = "20:00:00";
			_videoEnableIntervalTimes.push(o2);
			
			var o3:Object = new Object();
			o3.Start = "09:30:00";
			o3.End = "20:00:00";
			_videoEnableIntervalTimes.push(o3);
		}
		
		public function get videoBandWidth():uint
		{
			return _videoBandWidth;
		}

		public function set videoBandWidth(value:uint):void
		{
			_videoBandWidth = value;
		}

		public function get h264Level():String{
			return _h264Level;
		}

		public function set h264Level(value:String):void{
			_h264Level = value;
		}

		public function get h264Profile():String{
			return _h264Profile;
		}

		public function set h264Profile(value:String):void{
			_h264Profile = value;
		}

		public function get bufferTimer():uint{
			return _bufferTimer;
		}
		public function set bufferTimer(value:uint):void{
			_bufferTimer = value;
		}
		
		public function get videoWidth():uint{
			return _videoWidth;
		}
		public function set videoWidth(value:uint):void{
			_videoWidth = value;
		}
		
		public function get videoHeight():uint{
			return _videoHeight;
		}
		public function set videoHeight(value:uint):void{
			_videoHeight = value;
		}
		
		public function get videoFps():uint{
			return _videoFps;
		}
		public function set videoFps(value:uint):void{
			_videoFps = value;
		}
		
		public function get videoQuality():uint{
			return _videoQuality;
		}
		public function set videoQuality(value:uint):void{
			_videoQuality = value;
		}
		
		public function get videoEnableIntervalTimes():Array{
			return _videoEnableIntervalTimes;
		}
		public function set videoEnableIntervalTimes(value:Array):void{
			_videoEnableIntervalTimes = value;
		}
	}
}